package com.dup.jxlh.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dup.jxlh.admin.entities.model.ContractAttach;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.math.BigInteger;
import java.util.ArrayList;

@Mapper
public interface ContractAttachMapper extends BaseMapper<ContractAttach> {
    @Select("select * from contract_attach where contract_id = #{contractId}")
    ArrayList<ContractAttach> getContractAttachList(@Param("contractId")BigInteger contractId);
}
